package org.cyzy.service;

import org.cyzy.entity.CreateClass;

import java.util.List;

public interface ClassService {
    //插入班级信息
    int insertClass(CreateClass createClass);

    //查询班级码，避免重复
    Integer selectClassCode(String classCode);

    //查询班级信息
    CreateClass selectClassInfo(String classCode);

    //根据班级id查询班级列表
    List<CreateClass> selectClassInTeacherid(String teacherId);

}
